/*
 * Copyright (c) 2023, 2023,yzc.cn All rights reserved.
 *
 */
package cn.yzc.ex;

import java.util.Map;

/**
 * <p>Project: SpringMVCPro - ValidateException</p>
 * <p>Powered by yzc On 2023-11-02 14:24:59</p>
 * <p>描述：<p>
 *
 * @author yzc [yzc0415@126.com]
 * @version 1.0
 * @since 17
 */

/**
 * 自定义异常 用户接受验证错误信息
 */
public class ValidateException extends RuntimeException {
   //存储异常字段信息
    Map errors;

    public ValidateException(Map errors){
        super();
        this.errors=errors;
    }

    public Map getErrors() {
        return errors;
    }
}
